package com.sfchen.cloud.feign.service.impl;

import com.sfchen.cloud.dto.UserDto;
import com.sfchen.cloud.feign.service.UserFeignDetailService;
import com.sfchen.cloud.utils.JsonData;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Component
@Slf4j
public class UserFeignDetailServiceLocalImpl implements UserFeignDetailService {
    @Override
    public JsonData<UserDto> queryUserDetailById(Integer userId) {
        return JsonData.buildCodeAndMsg(-1003, "返回数据错误!");
    }
}
